package org.jeecg.modules.live.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 直播评论
 * @Author: jeecg-boot
 * @Date:   2020-05-06
 * @Version: V1.0
 */
@Data
@TableName("live_comment")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="live_comment对象", description="直播评论")
public class LiveComment {
    
	/**主键ID 直播评论ID*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键ID 直播评论ID")
	private String id;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**修改人*/
	@Excel(name = "修改人", width = 15)
    @ApiModelProperty(value = "修改人")
	private String updateBy;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private Date updateTime;
	/**直播ID*/
	@Excel(name = "直播ID", width = 15)
    @ApiModelProperty(value = "直播ID")
	private String liveId;
	/**直播评论*/
	@Excel(name = "直播评论", width = 15)
    @ApiModelProperty(value = "直播评论")
	private Object commentContent;
	/**评论人ID*/
	@Excel(name = "评论人ID", width = 15)
    @ApiModelProperty(value = "评论人ID")
	private String commentUserId;
	/**评论时间*/
	@Excel(name = "评论时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "评论时间")
	private Date commentTime;
	/**评论人昵称*/
	@Excel(name = "评论人昵称", width = 15)
    @ApiModelProperty(value = "评论人昵称")
	private String commentNickName;
	/**审核人*/
	@Excel(name = "审核人", width = 15)
	@ApiModelProperty(value = "审核人")
	private String checker;
	/**审核结果 0、待审核 1、审核通过  2、审核未通过*/
	@Excel(name = "审核结果 0、待审核 1、审核通过  2、审核未通过", width = 15)
	@ApiModelProperty(value = "审核结果 0、待审核 1、审核通过  2、审核未通过")
	private Integer checkResult;
	/**审核内容*/
	@Excel(name = "审核内容", width = 15)
	@ApiModelProperty(value = "审核内容")
	private String checkContent;
	/**审核时间*/
	@Excel(name = "审核时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "审核时间")
	private Date checkTime;
	/**是否敏感词：0 不是 1 是*/
	@Excel(name = "是否敏感词：0 不是 1 是", width = 15)
	@ApiModelProperty(value = "是否敏感词：0 不是 1 是")
	private Integer sensitiveWords;

	@ApiModelProperty(value = "直播禁言: (1-禁言,2-未禁言)")
	@TableField(exist=false)
	private Integer liveEstoppel;
}
